package forms

type CreateTaskForm struct {
	TaskName    string `json:"task_name" binding:"required"`
	Grade       int32  `json:"grade" binding:"required"`
	Status      int32  `json:"status" binding:"required"`
	CreatorId   uint64 `json:"creator_id" binding:"required"`
	OwnerId     uint64 `json:"owner_id"`
	IterationId uint64 `json:"iteration_id" binding:"required"`
	GroupId     uint64 `json:"group_id" binding:"required"`
}

type UpdateTaskForm struct {
	TaskId   uint64 `json:"task_id" binding:"required"`
	TaskName string `json:"task_name" binding:"required"`
	Grade    int32  `json:"grade" binding:"required"`
	Status   int32  `json:"status" binding:"required"`
	OwnerId  uint64 `json:"owner_id"`
	UserId   uint64 `json:"user_id" binding:"required"`
	GroupId  uint64 `json:"group_id" binding:"required"`
}

type DeleteTaskForm struct {
	TaskId  uint64 `json:"task_id" binding:"required"`
	UserId  uint64 `json:"user_id" binding:"required"`
	GroupId uint64 `json:"group_id" binding:"required"`
}
